home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 3.0 KB | 97 lines | [TEXT/MPS ] |
- /*
- File: Pointing.idl
-
- Contains: Pointer Family Interface
-
- Version: Technology: Copland
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __POINTING_IDL__
- #define __POINTING_IDL__
-
- #include <somobj.idl>
- #include <somcls.idl>
-
- #ifndef __KERNEL_IDL__
- #include <Kernel.idl>
- #endif
- #ifndef __NAMEREGISTRY_IDL__
- #include <NameRegistry.idl>
- #endif
- #ifndef __TYPES_IDL__
- #include <Types.idl>
- #endif
-
- #ifdef __SOMIDL__
-
- #if FOR_SYSTEM8_PREEMPTIVE
- /**************** Constants ****************/
- typedef UInt16 PTDataRelation;
-
- /**************** Public Data Structures ****************/
- /* old name is TrackerID */
- typedef OpaquePtr PTTrackerRef;
-
- typedef unsigned long PTButtonState;
-
- typedef OpaquePtr PTButtonStatePtr; /* Substituted OpaquePtr for “PTButtonState*” */
-
- typedef SOMLargeStruct PTPosition; /* Derived from a struct of 12 bytes in size */
-
- typedef OpaquePtr PTPositionPtr; /* Substituted OpaquePtr for “PTPosition*” */
-
- /* old name is PointerData */
- typedef SOMLargeStruct PTData; /* Derived from a struct of 28 bytes in size */
-
- typedef OpaquePtr PTDataPtr; /* Substituted OpaquePtr for “PTData*” */
-
- typedef SOMLargeStruct PTDeviceModes; /* Derived from a struct of 6 bytes in size */
-
- typedef OpaquePtr PTDeviceModesPtr; /* Substituted OpaquePtr for “PTDeviceModes*” */
-
- typedef OSType PTDeviceClass;
-
- typedef SOMLargeStruct PTDeviceIdentifier; /* Derived from a struct of 255 bytes in size */
-
- typedef OpaquePtr PTDeviceIdentifierPtr; /* Substituted OpaquePtr for “PTDeviceIdentifier*” */
-
- typedef SOMLargeStruct PTDeviceCapabilities; /* Derived from a struct of 21 bytes in size */
-
- typedef OpaquePtr PTDeviceCapabilitiesPtr; /* Substituted OpaquePtr for “PTDeviceCapabilities*” */
-
- typedef SOMLargeStruct PTPinningRectList; /* Derived from a struct of 6 bytes in size */
-
- typedef OpaquePtr PTPinningRectListPtr; /* Substituted OpaquePtr for “PTPinningRectList*” */
-
- /**************** Client Interfaces ****************/
- /* *** Getting information about Devices *** */
- /* *** Setting Device Modes *** */
- /* *** Registering with the Pointing Family *** */
- /*
- PTRegisterNewTracker:
- The client provides a reference to device she wants a connection with,
- and whether buffered and/or static data are needed. A TrackerRef is
- returned, which the client must use in all future communications with
- the Pointing Family. In addition, the size of the PTData structure
- that the given device generates is returned.
- */
- /* *** Maintaining Trackers *** */
- /* *** Getting Data *** */
- /* DataSize indicates the size of the buffer allocated by the client for dataPtr. */
- /* *** Checking Tracker State *** */
- #endif
-
- #endif /* __SOMIDL__ */
-
- #endif /* __POINTING_IDL__ */
-
-